<?php

namespace common\validate;

class DelayOrderTask extends BaseValidate
{
    // GetDelayOrderTaskList 延期单列表验证场景定义
    public function sceneGetDelayOrderTaskList()
    {
        return $this
            ->append('param.filter', 'array|require')
            ->append('param.filter.project_id','require')
            ->append('param.filter.episode_id','require')
            ->append('param.filter.step_category_id','require')
            ->append('param.filter.confirm_status','in:yes,no,all,wait_for_me_confirm')
            ->append('param.filter.created','array')
            ->append('param.filter.created_by','array')
            ->append('param.filter.task_name','max:128')
            ->append('param.page', 'array');
    }

}
